<gm:page title="Geo Polizei Mashup" authenticate="false">

  <table width="100%">
    <tr>
      <td style="padding-right:10px; width:250px" valign="top">
            <gm:list id="myList" template="myListTemplate" data="http://pipes.yahoo.com/revista/polgeorss?url=http://www.polizei.bayern.de/bepo/polizei.rss" pagesize="10"/>
                    <gm:handleEvent event="select" src="myMap"/>
        </gm:list>
    </td>
</tr>
      <td valign="top">
        <gm:map id="myMap" style="border:solid black 1px" control="large"
            maptypes="true" data="${myList}" latref="geo:lat" lngref="geo:long"
            infotemplate="myMapDetailsTemplate">
          <gm:handleEvent event="select" src="myList"/>
        </gm:map>
      </td>
    </tr>    
  </table>

  <gm:template id="myListTemplate">
    <table class="blue-theme" style="width:250px">
      <tr repeat="true">
        <td><gm:text ref="atom:title"/></td>
      </tr>
      <tfoot>
        <tr>
          <td align="center"><gm:pager compact="true"/></td>
        </tr>
      </tfoot>
    </table>
  </gm:template>

  <gm:template id="myMapDetailsTemplate">
    <div repeat="true">
      <b><gm:link ref="atom:link[@rel='alternate']/@href" labelref="atom:title"/></b><br/>
     <gm:text ref="atom:summary"/><br /><br />
     <div align="right"><gm:link ref="atom:link[@rel='alternate']/@href" label="mehr..."/><br /> <br /></div>
    </div>
  </gm:template>

</gm:page>
